﻿{if isset($load) && $load neq null}{$i=1}
{foreach $load as $row}
<div class="wrapper">
    <div class="news_post">
        <div class="down_pr">Giảm <br /><span>{$row.per}</span>%</div>
        <h4><a href="{Url::anchor("khoa-hoc/v{$row.id}/{String::toUrl($row.name)}")}">{$row.name} {$i}</a></h4>
        <div class="news_short">
            <a href="{Url::anchor("khoa-hoc/v{$row.id}/{String::toUrl($row.name)}")}"><img src="{$row.images}" width="200" height="135" alt="" /></a>
            {$row.content_short} 
        </div><!--news_short-->
    </div><!--news_post-->
    <div class="news_info">
        <h4>{$row.company}</h4>
        {$row.address}<br />
        {$row.phone}
    </div><!--news_info-->
    <div class="news_price begin">
        Giá: <span class="older">{$row.price}</span><br />
        <font style="font-size:14px;">Giá khuyến mãi: {$row.price_sale}<strong></strong> VNĐ</font>
    </div><!--news_price-->
    <div class="news_price">
        Thời gian khuyến mãi: {$row.date_start|date_format:"%d/%m/%Y"} - {$row.date_end|date_format:"%d/%m/%Y"}<br />
        Đã có: <span>32</span> người mua
    </div><!--news_price-->
    <div class="clear"></div>
</div><!--wrapper-->
{$i=$i+1}
{/foreach}
{/if}